import {BrowserRouter,Route,Switch} from 'react-router-dom';
import React from 'react';
import Index from './pages/index';
import Bmzs from './pages/bmzs';
import Qz from './pages/qz';
import Mine from './pages/mine';
import Footer from './components/footer'

const BasicRoute = ()=>{
	return (
		<BrowserRouter>
			<div className='box'>
				
				<div className='main'>
					<Switch>
						<Route path='/' exact component={Index}></Route>
						<Route path='/bmzs'  component={Bmzs}></Route>
						<Route path='/qz'  component={Qz}></Route>
						<Route path='/mine'  component={Mine}></Route>
					</Switch>
				</div>
				<Footer></Footer>
			</div>
		</BrowserRouter>
	)
}
export default BasicRoute
